all: bindir join move goto position position_stream see

bindir: bin
	mkdir -p bin

join: join.c help/util.h
	gcc join.c -o bin/join

move: move.c help/util.h
	gcc move.c -o bin/move

goto: goto.c help/util.h
	gcc goto.c -o bin/goto

position: position.c help/query.h
	gcc position.c -o bin/position

position_stream: position_stream.c help/query.h
	gcc position_stream.c -o bin/position_stream

see: see.c help/query.h
	gcc see.c -o bin/see